package lin.j4fun.utility;

public class MessagePrinter {

	private final static boolean testMode = true;
	
	public static void printInfo(String message){		
		if(testMode){
			System.out.println(message);
		}
	}
	
	public static void printInfo(Class<?> classInfo , String message){
		if(testMode){
			String className = classInfo.getName();
			System.out.println("<"+className+">  "+message);
		}
	}
	
	public static void printError(Class<?> classInfo , String ErrMSG){
		String className = classInfo.getName();
		System.err.println("<"+className+">  "+ErrMSG);
	}
}
